import request from '@/utils/request'

const supportApi = {
  // 获取专家列表
  selectAuthorList (data) {
    return request({
      url: '/webinar/newapi/authorinfo/selectAuthorList',
      method: 'get',
      params: data
    })
  },
  // 添加/修改专家
  saveAuthor (data) {
    return request({
      url: '/webinar/newapi/authorinfo/saveAuthor?imshwoid=' + data.imshowid,
      method: 'post',
      data
    })
  },
  // 查询某个专家
  selectById (data) {
    return request({
      url: '/webinar/newapi/authorinfo/selectById',
      method: 'get',
      params: data
    })
  },
  // 删除某个专家
  deleted (data) {
    return request({
      url: '/webinar/newapi/authorinfo/deleted',
      method: 'get',
      params: data
    })
  },
  // 领域分类列表
  getIndustryClassifySelectByParentId (data) {
    return request({
      url: '/webinar/newapi/label/getIndustryClassifySelectByParentId',
      method: 'get',
      params: data
    })
  },
  // 仪器分类列表
  getPrincipleClassifySelectByLevel (data) {
    return request({
      url: '/webinar/newapi/label/getPrincipleClassifySelectByLevel',
      method: 'get',
      params: data
    })
  },
    // 查询天网员工账号列表
    queryAccountList (data) {
      return request({
        url: '/webinar/newapi/tw/queryAccountList',
        method: 'get',
        params: data
      })
    }
}
export default supportApi
